package com.sino.tb.secMgr;

import java.util.*;
import java.sql.*;
import xpubbean.Db.*;

public class JobManager extends com.sino.tb.funcbean.CommonBean {
	private static String resource =
		"com.sino.tb.resource.secMgr.JobManagerMessages";

	public JobManager() {
		loadResource(resource);
	}

	public Hashtable dealFuncID3001(Hashtable vo_Ht, Connection vo_conn) {
		String sql = "select * from t_call_board where trunc(sysdate) between to_date(c_begin_date, 'yyyymmdd') and to_date(c_end_date, 'yyyymmdd') and c_sys_flag = 1";
		Hashtable htResult = new Hashtable();
		ResultSetPlus rsp = new ResultSetPlus(sql, vo_conn);
		if (rsp.next()) {
			htResult.put("flag", "1");
			rsp.first();
			htResult.put("rs", rsp);
		} else {
			htResult.put("flag", "0");
			rsp.close();
		}
		return htResult;

	}

}
